#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "shellcode.h"

int main() 
{
	char *imge;
	File *ifp;
	int i=0,size;
	
	ifp=fopen("sample.jpg","rb");
	
	size=ftell(ifp);
	rewind(ifp);
	
	image=(char *)malloc(sizeof(uint8_t)*size);
	
	printf("the size is %d\n",size);
	
	fread(image,1,size,ifp);
	printf("%s",image);
	
	return 0;
	}
	